<%--
  Created by IntelliJ IDEA.
  User: ymwm9
  Date: 2024/4/11
  Time: 12:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>贵美商城</title>
    <link rel="stylesheet" type="text/css" href="css/global.css"/>
    <link rel="stylesheet" type="text/css" href="css/error.css"/>
    <link rel="stylesheet" type="text/css" href="css/layout.css"/>
</head>
<body>
<div id="container">
    <iframe id="header" src="header.jsp" width="980" height="136" frameborder="0" scrolling="no"></iframe>
    <div class="container">
        <h1 class="container">商品列表</h1>
        <table border="1">
            <tr>
                <th>名称</th>
            </tr>
            <c:forEach items="${categorys}" var="category" varStatus="s">
                <tr>
                    <td>${category.cname}</td>
                </tr>
            </c:forEach>

        </table>
    </div>
    <iframe id="footer" src="footer.jsp" width="980" height="136" frameborder="0" scrolling="no"></iframe>
</div> <!--container end-->
</body>
</html>
